<%--
  Created by IntelliJ IDEA.
  User: 吴倩
  Date: 2022/12/3
  Time: 1:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<% application.setAttribute("path",request.getContextPath());%>
<html>
<head>
    <title>添加运动项目</title>
    <link rel="stylesheet" href="../css/index.css" type="text/css">
    <style>
        .update{
            font-size: 30px;
            color: black;
            text-align: center;
            margin-top: 40px;
        }
        .divOne{
            margin-right: 60px;
        }
        .button{
            border-radius: 10px;
            margin:0;
            border:none;
            width:100px;
            background-repeat:no-repeat;
            background-color: #19aa8d;
            height:30px;
            padding-top:0;
        }
        .common{
            width: 280px;
            height: 40px;
            margin-top: 15px;
            border-radius: 10px;
            border:2px lightsteelblue solid;
        }
    </style>
</head>
<%
    String name = (String) session.getAttribute("name");
    String sno = request.getParameter("sno");
    String sname = request.getParameter("sname");
%>
<body>
<div>

    <div class="head">
        <div class="headOne">
            <p id="system">运动会管理系统</p>
        </div>

        <div class="headThree">
            <div class="info" style="margin-top: 10px">
                <%--                <img src="../image/样式.png" alt="图片加载失败！">--%>
            </div>

            <div class="manager">
                <div id="manager_one">
                    <img src="../image2/管理员.png" alt="图片加载失败" width="30px">
                </div>
                <div id="manager_two">
                    <div style="font-size: 20px;color:white;"><%=name%></div>
                </div>
            </div>

            <div class="quit">
                <a class="quit" href="../jsp/login.jsp">☛退 出 登 录</a>
            </div>
        </div>
    </div>
    <div class="body_one">
        <div class="function1">
            🚀功能菜单
        </div>
        <div class="operating">
            <img src="../image/搜索.png" alt="加载失败" width="25px">&nbsp;&nbsp;<span><a href="../SporterLookSport">查看运动项目</a></span><br><br>
            <img src="../image/替换.png" alt="加载失败">&nbsp;&nbsp;&nbsp;<span><a href="signUp.jsp">报名</a></span><br><br>
            <br>
            <br>
            <img src="../image/搜索.png" alt="加载失败" width="25px">&nbsp;&nbsp;<span><a href="../MySport">我参加的运动项目</a></span><br><br>
            <img src="../image2/比例.png" alt="加载失败">&nbsp;<span><a href="../CheckGrade">查询成绩</a></span><br><br>
        </div>
    </div>
    <div class="body_two">
        <div class="body_head">
            <div class="home">
                <a href="sporter_index.jsp"><img src="../image/主页.png" alt="图片加载失败！"></a>
            </div>
            <div class="drop">
                <img src="../image2/下拉条.png" alt="图片加载失败！">
            </div>
        </div>
        <div class="body_tail">
            <div class="update">
                <div class="function">添加比赛项目</div>
            </div>
            <div class="content" align="center">
                <%--            <span style="color: red;font-size: 20px;">${mistake}</span>--%>
                <div class="divOne">
                    <form action="../SignUp" method="get">
                        编号：<input type="text" name="sno" class="common" value="<%=sno%>" readonly><br>
                        名称：<input type="text" name="sname" class="common" value="<%=sname%>" readonly><br>
                        学号：<input type="text" name="id" class="common"><br>
                        学院：<input type="text" name="dept" class="common"><br>
                        班级：<input type="text" name="class" class="common"><br>
                        <input type="submit" value="确定" class="button" style="margin-left: 55px;margin-top: 15px">
                        <input type="reset" value="重置"class="button" style="margin-left: 80px">
                    </form>
                </div>
            </div>
        </div>

    </div>


</div>
</body>
</html>
